Run full Travis builds on all non-PR branches
authorAlex Crichton <alex@alexcrichton.com>
Thu, 19 Jan 2017 17:02:19 +0000 (09:02 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 19 Jan 2017 17:21:32 +0000 (09:21 -0800)
This'll result in duplicate work when merging, but otherwise we're not uploading
docs.

.travis.yml

index 501f2d1b2a14e2cf9e1bc9b7c7057e00581ab833..9f316daae25ef54f8035ba89a3dfd4afb2b06255 100644 (file)
@@ -104,7 +104,7 @@ before_script:
     fi
 script:
   - >
-      if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_BRANCH" != "auto-cargo" ]; then
+      if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
           echo skipping, not a full build;
       elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
           SRC=. src/ci/run.sh $TARGET;